OK. After adding line by line code to see where the error appeared, it appears when the following code is put into ultimatebb.cgi
###
### FIND:
###
my $cookie = cookie(-name=> "ubber$vars_config{Cookie_Number}", -value=> [$in{username}, $in{password}, $pubname, $dp, $profile_number], -path=> '/', -expires=> '+2y');
###
### REPLACE with:
###
undef($whos_online_invisible);
$whos_online_invisible = "hideme" if ($in{whos_online_invisible});
my $cookie = cookie(-name=> "ubber$vars_config{Cookie_Number}", -value=> [$in{username}, $in{password}, $pubname, $dp, $profile_number, $whos_online_invisible], -path=> '/', -expires=> '+2y');
---
and the remainder of pt1
###
### FIND:
###
if ($ubb eq '') {
###
### REPLACE with:
###
undef (@whos_online_forum); undef ($name_of_forum); undef ($whos_online_exact_path);
undef ($who_online_subject); undef (@whos_online_this_topic); undef (@whos_online_stats);
if ($in{f}) {
@whos_online_forum = &GetForumRecord($in{f});
$whos_online_name_of_forum = $whos_online_forum[1];
if ($in{t}) {
$whos_online_exact_path = "Forum$in{f}";
if ($whos_online_forum[6] =~ /private/ig) {
$who_online_subject = "(Private Topic)";
} else {
@whos_online_this_topic = &OpenTopic("$in{t}", "$in{f}");
@whos_online_stats = split(/||/, $whos_online_this_topic[0]);
$who_online_subject = $whos_online_stats[4];
undef (@whos_online_forum); undef ($whos_online_exact_path);
undef (@this_topic); undef (@whos_online_stats);
}
} # end $in{t}
} # end $in{f}
if ($ubb eq '') {
&WriteUserSession("$vars_wordlets_mods{whos_online_viewing}
Main Page");
###
### FIND:
###
if ($ubb eq 'forum') {
###
### ADD BELOW:
###
&WriteUserSession("$vars_wordlets_mods{whos_online_browsing} "
$whos_online_name_of_forum"");
undef($who_online_subject);
undef($whos_online_name_of_forum);
###
### FIND:
###
if ($ubb eq 'newtopic') {
###
### ADD BELOW:
###
&WriteUserSession("$vars_wordlets_mods{whos_online_composing_topic} "
$whos_online_name_of_forum"");
undef($who_online_subject);
undef($whos_online_name_of_forum);
###
### FIND:
###
if ($ubb eq 'get_topic') {
###
### ADD BELOW:
###
&WriteUserSession("$vars_wordlets_mods{whos_online_reading} "
$who_online_subject" $vars_wordlets_mods{whos_online_in} "
$whos_online_name_of_forum"");
undef($who_online_subject);
undef($whos_online_name_of_forum);
###
### FIND:
###
if ($ubb eq 'get_daily') {
###
### ADD BELOW:
###
&WriteUserSession("$vars_wordlets_mods{whos_online_checking}
$vars_wordlets_mods{whos_online_daily_topics}");
undef($who_online_subject);
undef($whos_online_name_of_forum);
###
### FIND:
###
if ($ubb eq 'search') {
###
### ADD BELOW:
###
&WriteUserSession("
$vars_wordlets_mods{whos_online_searching}");
undef($who_online_subject);
undef($whos_online_name_of_forum);
***
If I add any of that, then BOOM! It will not execute! any ideas! i am running 6.3
thanx